package com.student.entity;

public class User {
	private Integer id;
	private String uname;
	private String upassword;
	
	public User() {
	}

	public User(String uname, String upassword) {
		super();
		this.uname = uname;
		this.upassword = upassword;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUpassword() {
		return upassword;
	}

	public void setUpassword(String upassword) {
		this.upassword = upassword;
	}

	public User(Integer id, String uname, String upassword) {
		super();
		this.id = id;
		this.uname = uname;
		this.upassword = upassword;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", uname=" + uname + ", upassword=" + upassword + "]";
	}


}
